package com.wyh.book.service;

import com.wyh.book.mapper.UserInfoMapper;
import com.wyh.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2025-07-12
 * Time: 15:16
 */

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo selectPassword(String name) {
        return userInfoMapper.selectPasswordByName(name);
    }
}
